package com.venutech.gongan.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.venutech.gongan.entity.DictType;
import com.venutech.gongan.model.ResultFormat;

import java.util.List;

public interface DictTypeService {
    //插入数据
    ResultFormat insert(DictType dictType);

    //根据ID删除对象
    int deleteById(Integer dict_id);

    //根据ID返回对象
    DictType getById(Integer dict_id);

    //修改对象信息
    int updateDictType(DictType dictType);

    //查询所有字典类型数据
    List<DictType> getSelectAll();

    //分页查询
    Page<DictType> getInfo(Integer pageNo, Integer pageSize, String begintime, String endtime,
                           String badw, String dict_name);

}
